<?php
class Action
{
	function index(){
		
		if(!$id = _GET('mid', 0)){
			
			msg('mid will be not empty');
			
		}
		
		
		$model_info = _model('admin_attribute_value')->read(array('attribute_id'=>$id));
		$model_info_resource= _model('admin_resource')->getList(array('id'=>$model_info['res_id']));
		var_dump($model_info);
		
	}
}
?>